package com.sss.hloster0703;

public class Sub extends Super {
	private int subPri = 11;
	int subPac = 12;
	protected double subPro = 13;
	public String subPub = "14";

	public Sub() {
		super();
	}

	public Sub(int pri, int pac, double pro, String pub) {
		super();
		this.subPri = pri;
		this.subPac = pac;
		this.subPro = pro;
		this.subPub = pub;
	}

	protected Sub(int pri, int pac, double pro) {
		this(pri, pac, pro, "14");
	}

	Sub(int pri, int pac) throws Exception {
		this(pri, pac, 13.0, "14");
	}

	private Sub(int pri) {
		this(pri, 12, 13.0, "14");
	}

	private void subPrivate() {
	}

	int subPackage() {
		return supPac;
	}

	protected double subProtested() {
		return supPro;
	}

	public String subPublic() {
		return supPub;
	}
}
